//
//  ReversiOutOfRangeException.m
//  Reversi
//
//  Created by 成瀬 龍人 on 2/5/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "ReversiOutOfRangeException.h"


@implementation ReversiOutOfRangeException
- (id)initWithInt:(int)aX:(int)aY{
	[super initWithName:@"ReversiOutOfRangeException"
				 reason:[NSString stringWithFormat:@"position is (%d,%d).",aX,aY]
			   userInfo:nil];
	return self;
}

- (id)initWithString:(NSString*)aX:(NSString*)aY{
	[super initWithName:@"ReversiOutOfRangeException"
				 reason:[NSString stringWithFormat:@"position is (%@,%@).",aX,aY]
			   userInfo:nil];
	return self;
}
@end
